/**
 * Created by chuck7 on 16/7/30.
 */
import {
  RECEIVE_ALL_TRDS,
  RECEIVE_ALL_TRDSTATISTICS
} from '../mutation_types'

const state = {
  trdList: [],
  trdStatistics: []
}

// mutations
const mutations = {
  [RECEIVE_ALL_TRDS](state,trdList){
    state.trdList = trdList;
  },
  [RECEIVE_ALL_TRDSTATISTICS](state,trdStatistics){
    state.trdStatistics = trdStatistics;
  }
}
export default {
  state,
  mutations
}
